package zut.cs.liziflower.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xuwenke
 * @since 2022-05-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Cart对象", description="")
@TableName("cart")
public class Cart implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "购物车id")
    @TableId(value = "cartid", type = IdType.AUTO)
    private Integer cartid;

    @ApiModelProperty(value = "用户编号")
    private Integer userid;

    @ApiModelProperty(value = "花id")
    private Integer flowerid;

    @ApiModelProperty(value = "数量")
    private Integer number;


}
